package com.open.capacity.exam.feign.impl;

import com.open.capacity.common.web.PageResult;
import com.open.capacity.exam.feign.GroupFeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.Map;

@Component("groupFeignClient")
public class GroupFeignFallBack implements GroupFeignClient {
    @Override
    public PageResult selectUserByGroup(Map<String, Object> params) {
        return PageResult.builder().code(500).build();
    }

    @Override
    public PageResult getGroupByTeacher(Map<String, Object> params) {
        return PageResult.builder().code(500).build();
    }
}
